package cn.qiyu5522.tk_ems.service;

import cn.qiyu5522.tk_ems.entity.JobCategory;
import cn.qiyu5522.tk_ems.entity.dto.JobCategoryDTO;
import cn.qiyu5522.tk_ems.entity.dto.QueryParamDTO;
import cn.qiyu5522.tk_ems.result.R;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tonkey
 * @since 2023-02-22
 */
public interface JobCategoryService extends IService<JobCategory> {

    R queryJobCategoryByPageCondition(QueryParamDTO<JobCategoryDTO> queryParamDTO);

    R queryForCategoryList();

    R saveMore(List<JobCategoryDTO> jobCategoryDTOs);

    R queryByName(String name);

    R queryJobNameAndIdListByPid(Long pid);
}
